Package-level declarations
Types
Link copied to clipboard
书本详情接口
Link copied to clipboard
interface BookRepositoryApi
书本相关的Api
Link copied to clipboard
书本卷目录
Link copied to clipboard
interface CanBeEmpty
可判断是否为空的对象接口
Link copied to clipboard
章节内容接口
Link copied to clipboard
章节基础信息
Link copied to clipboard
interface LocalBookDataSourceApi
本地书本数据源接口 提供对本地存储的书本数据的增删改查操作
Link copied to clipboard
class MutableBookInformation(id: String, title: String, subtitle: String, coverUrl: Uri, author: String, description: String, tags: List<String>, publishingHouse: String, wordCount: WordCount, lastUpdated: LocalDateTime, isComplete: Boolean) : BookInformation
可变的书本详情对象 其中每一个成员都是可被UI观测的
Link copied to clipboard
class MutableChapterContent(id: String, title: String, content: JsonObject, lastChapter: String = "", nextChapter: String = "") : ChapterContent
可变的章节内容对象 其中每一个成员都是可被UI观测的
Link copied to clipboard
class MutableUserReadingData(id: String, lastReadTime: LocalDateTime, totalReadTime: Int, readingProgress: Float, lastReadChapterId: String, lastReadChapterTitle: String, currentChapterReadingProgressMap: Map<String, Float>, maxChapterReadingProgressMap: Map<String, Float>) : UserReadingData
可变的用户书本阅读数据对象 其中每一个成员都是可被UI观测的
Link copied to clipboard
用户书本阅读数据接口
Link copied to clipboard
data class Volume(val volumeId: String, val volumeTitle: String, val chapters: List<ChapterInformation>) : CanBeEmpty
书本卷信息
Functions
Link copied to clipboard
判断可空的CanBeEmpty对象是否为null或空